﻿<UserControl x:Class="BestCode.Creds.UI.Report.VwReport"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:controls="clr-namespace:BestCode.Wpf.Controls;assembly=BestCode.Wpf.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="600">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="40"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal" Margin="0,10">
            <RadioButton Name="rbtnSummary" Content="Summary   " GroupName="rptOptions" IsChecked="True"></RadioButton>
            <RadioButton Name="rbtnDetailed" Content="Detailed Report" GroupName="rptOptions"></RadioButton>
            <RadioButton Name="rbtnAllDatas" Content="All Datas" GroupName="rptOptions"></RadioButton>
        </StackPanel>
        
        <controls:ImageButton Name="btnShowReport"  TextButton="Show Report" Height="30" VerticalAlignment="Top" HorizontalAlignment="Right" Width="114" Click="BtnShowReport_OnClick" ImageSource="/BestCode.Creds.UI;component/Images/usercenter.ico"/>
        
        <WindowsFormsHost Grid.Row="1" Name="hostReport" />  
    </Grid>
</UserControl>
